/* eslint-disable no-unused-vars */
import Vue from 'vue'
import App from './App.vue'
import VueRouter from 'vue-router'
import store from './modules/app_store'
import router from './routers'
import ElementUI from 'element-ui';
import './element-variables.scss'
import 'element-ui/lib/theme-chalk/display.css';
import 'vue-awesome/icons'
import Icon from 'vue-awesome/components/Icon'
import BaiduMap from 'vue-baidu-map'
import VCharts from 'v-charts'
// globally (in your main .js file)
Vue.component('v-icon', Icon)
Vue.use(ElementUI);
Vue.use(VCharts);
//Vue.use(VueRouter);
// eslint-disable-next-line no-unused-vars
Vue.use(BaiduMap, {
  // ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
  ak: 'VG0g41fWdMxkV5ZNDwobdrbfRnggm6DI'
})
Vue.use(VueRouter);
let myVueApp = new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app');
